package com.lmx.repoDomain.tmodel.unpersis;

import java.util.List;

import com.lmx.repoDomain.tmodel.BaseEntity;
import com.lmx.repoDomain.tmodel.CustomerDrugProjectExe;

import io.katharsis.resource.annotations.JsonApiIncludeByDefault;
import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.JsonApiToMany;

/**
 * 每天的用药计划执行情况
 *
 * @author ytche
 * @date 2017年7月27日
 *
 */
@JsonApiResource(type = "drugPlanExeDayRecord")
public class DrugPlanExeDayRecord extends BaseEntity {
	private Integer date;
	private Integer day;
	private List<CustomerDrugProjectExe> executions;

	public Integer getDate() {
		return date;
	}

	public void setDate(Integer date) {
		this.date = date;
	}

	public Integer getDay() {
		return day;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<CustomerDrugProjectExe> getExecutions() {
		return executions;
	}

	public void setExecutions(List<CustomerDrugProjectExe> executions) {
		this.executions = executions;
	}

}
